<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName()
			+ ":" + request.getServerPort() + request.getContextPath();
%>
<jsp:include page="/WEB-INF/page/auth/_header.jsp"></jsp:include>
<body>
	<jsp:include page="/WEB-INF/page/auth/header.jsp"></jsp:include>
	<div id="middle">
		<jsp:include page="/WEB-INF/page/auth/menu.jsp"></jsp:include>
		<div id="right">
		    <div id="teacher_work_signtb">
		        <form id="teacher_work_signForm" class="m10">
		           	 日期：
		            <input id="startDate" class="easyui-datebox" data-options="width:95" />-<input id="endDate" class="easyui-datebox" data-options="width:95" />
					教师姓名:<input id="teacherName" class="easyui-validatebox" style="width:60px;" />
					签到主题:<select id="signType" class="easyui-combobox" data-options="
						width:150,
						panelHeight:'auto',
						editable:false,
						method:'POST',
						valueField:'dictDataKey',
		                textField:'dictDataValue',
						url:'<%=basePath %>/dictData/dictCode?dictCode=workSign'"></select>
		            <a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-search'" onclick="searchForm('teacher_work_sign')">查询</a>
		            <a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-clear'" onclick="resetForm('teacher_work_sign')">重置</a>
		        	<a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-save'" onclick="exportExcel('teacher_work_sign','<%=basePath%>/sys/report/teacherWorkSign/export')">导出为EXCEL</a>
		        </form>
		    </div>
		    <table id="teacher_work_signdg">
		        <thead>
		            <tr>
		                <th data-options="field:'teacherName',title:'教师姓名'"></th>
		                <th data-options="field:'signDate',title:'日期'"></th>
		                <th data-options="field:'signTopic',title:'签到主题'"></th>
		                <th data-options="field:'signTimeText',title:'签到时间'"></th>
		            </tr>
		        </thead>
		    </table>
		</div>
	</div>
	<jsp:include page="/WEB-INF/page/auth/_footer.jsp"/>
	<script type="text/javascript">
        $(function(){
            var url = basePath + "/sys/teacher/workSign";
            initDatagrid("teacher_work_sign", url);
        })
    </script>
</body>
</html>